package com.qzsoft.zhjd.server.modules.glodon.gys.wl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qzsoft.zhjd.server.modules.glodon.gys.wl.domain.entity.CronTask;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 定时任务 DAO
 *
 * @author MacUncle
 * @since 2025/11/14
 */
@Mapper
@Repository
public interface CronTaskMapper extends BaseMapper<CronTask> {

    @Select("select cron_expression from tb_cron where is_deleted = 0")
    List<CronTask> getCronAll();
}
